<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>Tuxxedo Engine API Documentation</title>

		<style type="text/css">
		a
		{
			color:				#3B7286;
			text-decoration:		underline;
		}
			a:hover
			{
				color:				#000000;
			}
		body
		{
			background-color:		#E4F4FC;
			color:				#3B7286;
			font-family:			"Helvetica Neue", Helvetica, Trebuchet MS, Verdana, Tahoma, Arial, sans-serif;
			font-size:			82%;
			margin:				30px 10% 0px 10%;
		}
		code
		{
			font-family:			Consolas, Monaco, 'Courier New', Monospace;
		}
		fieldset
		{
			background-color: 		#C2EDFD;
			border: 			0px;
			border-radius:			4px;
		}
			fieldset legend
			{
				background-color: 		#C2EDFD; 
				border-radius: 			4px; 
				padding: 			6px;
			}
		h1
		{
			margin: 			30px 0px -6px 0px;
		}
		h2
		{
			margin: 			20px 0px 0px 0px;
		}
			h2 span
			{
				background-color: 		#C2EDFD;
				border-top-left-radius: 	4px; 
				border-top-right-radius: 	4px; 
				padding: 			5px; 
				padding-bottom: 		0px;
			}
				h2 span.notice
				{
					background-color:		#3B7286;
					color:				#FFFFFF;
				}
				h2 span.warning
				{
					background-color: 		#9B0500;
					color:				#FFFFFF;
				}
		li, ul
		{
			margin: 			0px;
		}
		td
		{
			border: 			1px solid transparent;
		}
			td.value 
			{ 
				background-color: 		#FFFFFF; 
				border-radius: 			4px; 
				padding: 			3px; 
			}
		tr.head td
		{
			background-color: 		#C2EDFD; 
			padding: 			5px; 
			border-radius: 			4px; 
		}
		tr.row, tr.row *
		{ 
			margin: 			0px; 
			padding: 			2px 5px; 
		}
		tr.strong td 
		{ 
			background-color: 		#C2EDFD; 
			border-radius: 			4px; 
		}
		tr.strong td.empty 
		{ 
			background-color: #FFFFFF; 
		}

		.box, .box-notice, .box-warning
		{ 
			background-color: 		#C2EDFD;
			border: 			3px solid #C2EDFD;
			border-radius: 			4px;
		}
			.box.edge-title, .box-notice.edge-title, .box-warning.edge-title
			{ 
				border-top-left-radius: 	0px; 
			}
			.box .inner, .box-notice .inner, .box-warning .inner
			{ 
				background-color: 		#FFFFFF; 
				border-radius: 			4px; 
				padding: 			6px; 
			}
				.box .inner ul, .box.notice .inner ul, .box-warning .inner ul
				{ 
					padding: 			3px 15px; 
				}
		.box-notice
		{
			background-color:		#3B7286;
			border:				3px solid #3B7286;
		}
		.box-warning
		{
			background-color:		#9B0500;
			border: 			3px solid #9B0500;
		}
		.center
		{
			text-align:			center;
		}
		.content 
		{ 
			margin: 			15px 0px 10px 480px; 
		}
		.infobox, .infobox-notice, .infobox-warning
		{ 
			background-color: 		#C2EDFD; 
			border-radius: 			4px; 
			padding: 			6px; 
		}
		.infobox-notice
		{
			background-color:		#3B7286;
			color:				#FFFFFF;
		}
		.infobox-warning
		{
			background-color:		#9B0500;
			color:				#FFFFFF;
		}
		.left-content
		{
			float: left;
		}
			.left-content fieldset
			{
				width: 450px;
			}
		.tag
		{
			background-color: 		#3B7286;
			border-radius: 			4px;
			color: 				#FFFFFF;
			font-size: 			80%;
			margin-right:			5px;
			padding: 			1px 3px;
		}
		</style>
	</head>
	<body>

<h1>\Tuxxedo\Database</h1>
<div class="box">
	<div class="inner">
		<div class="left-content">
			<fieldset>
				<legend><strong>Meta information</strong></legend>
				<table cellspacing="4" cellpadding="0">
					<tr>
						<td>Availability:</td>
						<td class="value" style="width: 100%">
							Engine 1.0.0
						</td>
					</tr>
					<tr>
						<td>Type:</td>
						<td class="value" style="width: 100%">
							<a href="./classes.html">Class</a>
						</td>
					</tr>
					<tr>
	<td nowrap="nowrap">Namespace:</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		<a href="namespace-tuxxedo-900452.html">\Tuxxedo</a>
	</td>
</tr><tr>
	<td nowrap="nowrap">Declared in:</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		library/Tuxxedo/Database.php
	</td>
</tr><tr>
	<td nowrap="nowrap">Modifiers:</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		abstract
	</td>
</tr><tr>
	<td nowrap="nowrap">Implements:</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		<a href="interface-tuxxedo-database-driver-176927.html">\Tuxxedo\Database\Driver</a>
	</td>
</tr><tr>
	<td>&nbsp;</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		<a href="interface-tuxxedo-design-invokable-520120.html">\Tuxxedo\Design\Invokable</a>
	</td>
</tr>
				</table>
			</fieldset>
		</div>
		<div class="content">
			<div class="infobox">
				Abstract database class<br />Every main driver class must extend this class in order to be loadable
and to comply with the database access layer interface. This also contains
the factory method used to instanciate a new database driver instance.
			</div>
			<br />
		</div>
		<div style="clear: left;"></div>
	</div>
</div>





<h2><span>Contents</span></h2>
<div class="box edge-title">
	<div class="inner">
		<div class="infobox">
			Table of contents
		</div>

		<h3>Properties</h3>
<table style="width: 100%" cellspacing="2" cellpadding="0">
	<tr class="head">
		<td class="strong" nowrap="nowrap" style="width: 20%;">Property</td>
		<td class="strong">Description</td>
	</tr>
	<tr class="row">
	<td nowrap="nowrap"><a href="property-affected-rows-830863.html">$affected_rows</a></td>
	<td nowrap="nowrap" style="width: 100%">Affected rows by last successful query that changed
data in the database</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-configuration-587685.html">$configuration</a></td>
	<td nowrap="nowrap" style="width: 100%">Database specific configuration array</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-debug-567877.html">$debug</a></td>
	<td nowrap="nowrap" style="width: 100%">Whether or not debug mode is enabled</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-delayed-803504.html">$delayed</a></td>
	<td nowrap="nowrap" style="width: 100%">Whether the database connection still is delayed
or not</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-link-054325.html">$link</a></td>
	<td nowrap="nowrap" style="width: 100%">Link pointer, this contains the internal link
to the database from the driver</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-loaded-drivers-625953.html">$loaded_drivers</a></td>
	<td nowrap="nowrap" style="width: 100%">List of loaded drivers used for caching in the
special required cases where more than one driver
h...</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-queries-396919.html">$queries</a></td>
	<td nowrap="nowrap" style="width: 100%">List of executed queries during execution</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-registry-987578.html">$registry</a></td>
	<td nowrap="nowrap" style="width: 100%">Private instance to the Tuxxedo registry</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-shutdown-queries-218939.html">$shutdown_queries</a></td>
	<td nowrap="nowrap" style="width: 100%">List of shutdown queries that will be executed
when then destructor is called</td>
</tr>
</table><h3>Methods</h3>
<table style="width: 100%" cellspacing="2" cellpadding="0">
	<tr class="head">
		<td class="strong" nowrap="nowrap" style="width: 20%;">Method</td>
		<td class="strong">Description</td>
	</tr>
	<tr class="row">
	<td nowrap="nowrap"><a href="method---construct-696404.html">__construct()</a></td>
	<td nowrap="nowrap" style="width: 100%">Default constructor for a new database instance</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method---destruct-824732.html">__destruct()</a></td>
	<td nowrap="nowrap" style="width: 100%">Default destructor, this simply closes a database connection
and executes any registered shutdown q...</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-cfg-393170.html">cfg()</a></td>
	<td nowrap="nowrap" style="width: 100%">Returns a configuration value</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-equery-570737.html">equery()</a></td>
	<td nowrap="nowrap" style="width: 100%">Escape all arguments set to the query, prior to formatting</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-factory-232253.html">factory()</a></td>
	<td nowrap="nowrap" style="width: 100%">Constructs a new database instance</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-getaffectedrows-336210.html">getAffectedRows()</a></td>
	<td nowrap="nowrap" style="width: 100%">Gets the affected rows by last successful query that changed
data in the database</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-getnumqueries-178598.html">getNumQueries()</a></td>
	<td nowrap="nowrap" style="width: 100%">Gets the number of queries executed during this request</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-getqueries-800907.html">getQueries()</a></td>
	<td nowrap="nowrap" style="width: 100%">Gets the executed queries during this request</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-invoke-830063.html">invoke()</a></td>
	<td nowrap="nowrap" style="width: 100%">Magic method called when creating a new instance of the
object from the registry</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-setshutdownquery-253400.html">setShutdownQuery()</a></td>
	<td nowrap="nowrap" style="width: 100%">Sets a new query to execute at shutdown</td>
</tr>
</table>
	</div>
</div>







<h2><span>See also</span></h2>
<div class="box edge-title">
	<div class="inner">
		<ul>
			
			<li><a href="./classes.html">List of classes</a></li>
			<li><a href="./index.html">Table of contents</a></li>
		</ul>
	</div>
</div>

		<p>
			<em>Generated by Tuxxedo Engine 1.2.0 "Beloved" Beta 1 (Experimental).</em>
		</p>
	</body>
</html>